<html>
<head><meta charset="utf-8"><title>IDE setup · t-compiler · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/index.html">t-compiler</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/IDE.20setup.html">IDE setup</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="200707035"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/IDE%20setup/near/200707035" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Noah Lev <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/IDE.20setup.html#200707035">(Jun 12 2020 at 18:29)</a>:</h4>
<p>What development environment setup do you use for hacking on the compiler? For example: what IDE, what plugins, etc.</p>
<p>I use VS Code with the Rust plugin turned off because it froze <code>./x.py</code>. (I use the Rust plugin for smaller projects though.) Have you found a way to use the Rust plugin without it freezing up <code>./x.py</code>?</p>



<a name="200707935"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/IDE%20setup/near/200707935" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Léo Lanteri Thauvin <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/IDE.20setup.html#200707935">(Jun 12 2020 at 18:36)</a>:</h4>
<p>There is rust-analyser, too <span aria-label="slight smile" class="emoji emoji-1f642" role="img" title="slight smile">:slight_smile:</span></p>



<a name="200707986"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/IDE%20setup/near/200707986" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Léo Lanteri Thauvin <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/IDE.20setup.html#200707986">(Jun 12 2020 at 18:36)</a>:</h4>
<p>We recently added stuff to the rustc-dev-guide about IDE integration with rust-analyzer</p>



<a name="200708023"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/IDE%20setup/near/200708023" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Léo Lanteri Thauvin <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/IDE.20setup.html#200708023">(Jun 12 2020 at 18:37)</a>:</h4>
<p>See <a href="https://rustc-dev-guide.rust-lang.org/building/suggested.html#configuring-rust-analyzer-for-rustc">https://rustc-dev-guide.rust-lang.org/building/suggested.html#configuring-rust-analyzer-for-rustc</a></p>



<a name="200708716"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/IDE%20setup/near/200708716" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Noah Lev <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/IDE.20setup.html#200708716">(Jun 12 2020 at 18:42)</a>:</h4>
<p>Thanks <span class="user-mention" data-user-id="255061">@LeSeulArtichaut</span>!</p>



<a name="200708803"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/IDE%20setup/near/200708803" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Léo Lanteri Thauvin <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/IDE.20setup.html#200708803">(Jun 12 2020 at 18:43)</a>:</h4>
<p>You’re welcome <span aria-label="slight smile" class="emoji emoji-1f642" role="img" title="slight smile">:slight_smile:</span></p>



<a name="200718003"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/IDE%20setup/near/200718003" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/IDE.20setup.html#200718003">(Jun 12 2020 at 20:01)</a>:</h4>
<p>These days, I use VSCode running rust-analyzer and find it works quite well. I tend to use it over SSH with a linux desktop.</p>



<a name="200723279"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/IDE%20setup/near/200723279" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Noah Lev <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/IDE.20setup.html#200723279">(Jun 12 2020 at 20:52)</a>:</h4>
<p><span class="user-mention" data-user-id="116009">@nikomatsakis</span> By SSH, you mean you run <code>./x.py</code> on a remote server?</p>



<a name="200723310"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/IDE%20setup/near/200723310" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/IDE.20setup.html#200723310">(Jun 12 2020 at 20:53)</a>:</h4>
<p>I do, all the files are stored there. VSCode's support for editing files on a remote server is excellent.</p>



<a name="200723317"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/IDE%20setup/near/200723317" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/IDE.20setup.html#200723317">(Jun 12 2020 at 20:53)</a>:</h4>
<p>In this case, it's a desktop in my room</p>



<a name="200723348"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/IDE%20setup/near/200723348" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/IDE.20setup.html#200723348">(Jun 12 2020 at 20:53)</a>:</h4>
<p>(whereas I'm using my laptop, which is a Windows laptop)</p>



<a name="200723432"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/IDE%20setup/near/200723432" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/IDE.20setup.html#200723432">(Jun 12 2020 at 20:54)</a>:</h4>
<p>I definitely recommend doing your builds on something more beefy than a typical laptop if that's an option for you</p>



<a name="200723616"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/IDE%20setup/near/200723616" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Noah Lev <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/IDE.20setup.html#200723616">(Jun 12 2020 at 20:56)</a>:</h4>
<p>Yeah, I'm on a desktop</p>



<a name="200723666"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/IDE%20setup/near/200723666" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Noah Lev <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/IDE.20setup.html#200723666">(Jun 12 2020 at 20:56)</a>:</h4>
<p>Even on this desktop, building a small change to the compiler takes several minutes</p>



<a name="200723841"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/IDE%20setup/near/200723841" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Léo Lanteri Thauvin <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/IDE.20setup.html#200723841">(Jun 12 2020 at 20:58)</a>:</h4>
<p>Takes about an hour for my laptop <span aria-label="frown" class="emoji emoji-1f641" role="img" title="frown">:frown:</span></p>



<a name="200724200"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/IDE%20setup/near/200724200" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Noah Lev <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/IDE.20setup.html#200724200">(Jun 12 2020 at 21:02)</a>:</h4>
<p>The Rust plugin for VS Code says it works with rust-analyzer, yet I don't see anything in the README about how to use rust-analyzer with it. Do I need to install a different plugin?</p>



<a name="200724591"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/IDE%20setup/near/200724591" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Léo Lanteri Thauvin <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/IDE.20setup.html#200724591">(Jun 12 2020 at 21:06)</a>:</h4>
<p>Yes, rust-analyzer has a separate plugin</p>



<a name="200724618"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/IDE%20setup/near/200724618" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Léo Lanteri Thauvin <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/IDE.20setup.html#200724618">(Jun 12 2020 at 21:07)</a>:</h4>
<p>See <a href="https://marketplace.visualstudio.com/items?itemName=matklad.rust-analyzer">https://marketplace.visualstudio.com/items?itemName=matklad.rust-analyzer</a></p>



<a name="200725533"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/IDE%20setup/near/200725533" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Chris Simpkins <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/IDE.20setup.html#200725533">(Jun 12 2020 at 21:16)</a>:</h4>
<p>See this thread for VS Code + rust-analyzer for rustc development config information: <a href="#narrow/stream/122651-general/topic/rust-analyzer.20with.20rustc">https://rust-lang.zulipchat.com/#narrow/stream/122651-general/topic/rust-analyzer.20with.20rustc</a></p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>